package com.tutu.mybatis.dynamic.datasource.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author qyy
 * @Date 2020/9/25 10:36
 */
@Data
@TableName("t_balance")
public class Balance implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("num")
    private Integer num;
    @TableField("user_id")
    private Long userId;
    @TableField("create_time")
    private LocalDateTime createTime;
}
